package com.soulless.innerclass.demo4;

/**
 * <p>
 *
 * </p>
 *
 * @author zenglei
 * @date 2023/05/19/ 16:32
 */
public class Payer extends AbstractPayer {

    private class InnerPayer implements IPay {
        @Override
        public void pay() {
            IPay.super.pay();
//            Payer.this.pay();
        }
    }

    public IPay startPay() {
        return new InnerPayer();
    }

    @Override
    public void pay() {
        super.pay();
    }

}
